
import { httppost } from "@/plugins/request/getSignRequest"

 var pre = "";

//新用户注册绑定,修改手机号
//按站点名称模糊查询
export function getPostSiteList(data) {
  return httppost({
    URL:  `${pre}/shop/site/getPostSiteList`,
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
//查询驿站下所有父级分类
export function getSiteCategoryList(data) {
  return httppost({
    URL: `${pre}/shop/category/getSiteCategoryList`,
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
//查询家政/车辆公司/医院下分类
export function getCompanyCategoryList(data) {
  return httppost({
    URL:  `${pre}/shop/category/getCompanyCategoryList`,
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
//查询家政/金融/洗车/医院等服务公司列表
export function getCompanyList(data) {
  return httppost({
    URL:  `${pre}/shop/company/getCompanyList`,
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
//查询金融服务列表
export function getVehicleFinanceServiceList(data) {
  return httppost({
    URL: "/shop/detail/getVehicleFinanceServiceList",
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}

//金融服务生成预约单 传参名为 clothesList
export function generateServiceOrder(data) {
  return httppost({
    URL: "/shop/order/generateServiceOrder",
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
